package br.com.locadora.entities;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

//@Entity
public class Locacao {
//TODO: cadê o ID ?
	
	@Column(name = "cliente_id_cliente")
	private Cliente cliente;

	@Column(name = "filme_id_filme")
	private Filme filme;

	@Column(name = "locacao")
	private String locacao;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "dataLocacao")
	private Date dataLocacao;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "dataDevolucao")
	private Date dataDevolucao;
}
